<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">
      
<ui:composition template="templates/commonTemplate.xhtml">
  <ui:define name="title">User</ui:define>
  <ui:define name="header">
    User
  </ui:define>
  <ui:define name="content">
    <h:messages />
    <h:form id="form">
      FirstName:<h:inputText value="#{user.firstName}" /> <br/>
      LastName:<h:inputText value="#{user.lastName}" /> <br/>
      <h:commandButton value="Update" action="#{user.update}" />
    </h:form>
  </ui:define>
</ui:composition>

</html>